The following example will monitor the local host and three remote hosts. The remote hosts are monitored using remote procedure calls (RPC) to "rstatd". (This example does not require a specially tailored remote server.)
dwrite NLoad QueueLength -1
dwrite NLoad Hosts "hosta;hostb;hostc"
dwrite NLoad RemoteUpdateSeconds 60
dwrite NLoad LocalUpdateSeconds 10
The "QueueLength" parameter defines which load averages to plot. The value "-1" plots all 3 load averages; other acceptable values are "1", "5", and "15".
The "Hosts" parameter is a semi-colon separated list of host names. Hosts can be specified as full domain names (e.g., host.dept.site.edu). NLoad windows for these hosts will automatically be added on startup. Hosts can also be opened using NLoad's 'Hosts' menu item.
The "RemoteUpdateSeconds" parameter is the number of seconds between calls to the remote host to get its load statistics. To reduce network overhead, the remote statistics should be gathered less often than they are for the local host.
Likewise, the "LocalUpdateSeconds" parameter is the number of seconds between calls to get the local host load statistics.
Less Common setting for NLoad variables
---------------------------------------
If necessary, you can run a dedicated load server on a remote host. This is necessary if the remote host does not support the Sun RPC protocol. To signify such a situation, suffix the host name with ":udp". In the following example, "hostb" must run a dedicated load server.
dwrite NLoad Hosts "hosta;hostb:udp;hostc"
dwrite NLoad HostsWaitSeconds 4
The "HostsWaitSeconds" parameter specifies the number of seconds to wait for a remote (UDP only) server to respond.
--
Rex Pruess, Weeg Computing Center, University of Iowa, Iowa City, Iowa 52242